/*
 * File Name : shell_controller.h
 * Auther : dream.liuguobiao
 * Create Date : 2010-5-14
 * Last Edit : 2010-5-16
 */

#ifndef SHELL_CONTROLLER_H
#define SHELL_CONTROLLER_H

#include "command_factory.h"

class shell_controller
{ 
private:
  shell_environment *my_environment;
  command_factory *my_command_factory;;

  int login();
  bool exec_command();
  void start();

public:
  shell_controller();
  void run();
};

#endif
